package com.mindbook.vip.gawxchatinfo.service.impl.user;

import com.mindbook.vip.gawxchatinfo.entity.user.UserBack;
import com.mindbook.vip.gawxchatinfo.mapper.user.UserBackMapper;
import com.mindbook.vip.gawxchatinfo.service.user.UserBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author wxb
 * @Datatime 2022/3/10 15:43
 * @Descript
 */
@Service
public class UserBackServiceImpl implements UserBackService {

    @Autowired private UserBackMapper userBackMapper;

    @Override
    public UserBack getUserBackList() {
        return userBackMapper.selectByPrimaryKey(1);
//        return null;
    }

    @Override
    public UserBack getUserBackEndByUsername(String username) {
        return userBackMapper.getUserBackEndByUsername(username);
    }
}
